import { Alert, Breadcrumb, Button, Card, Modal, Popover, Space, Tabs, Typography } from "antd";
import { useState } from "react";
import Jingyingfengxian from './Jingyingfengxian/index'
import Sifafengxian from './Sifafengxian/index'
const items = [
    {
        key: '1',
        label: '经营风险',
        children: <div className="tab-content"><Jingyingfengxian/></div>,
    },
    {
        key: '2',
        label: '司法风险',
        children: <div className="tab-content"><Sifafengxian/></div>,
    }
];

export default function Gongshangfengxianxinxi() {

    // 状态参数
    const [activeKey, setActiveKey] = useState('1');

    return (
        <div>
            <h2 className="headline">工商风险信息</h2>
            <Tabs activeKey={activeKey} items={items} onChange={setActiveKey}  />
        </div>
    )
}